<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="f_stockBillList" title="辅助材料入库" actionUrl="stockBillController.do?f_datagrid"  idField="id"  fit="true" queryMode="group" autoLoadData="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="Fdate"  formatter="yyyy-MM-dd"  isDate="true" query="true" queryMode="group" ></t:dgCol>
   <t:dgCol title="单据编号" field="FBillNo" query="true" ></t:dgCol>
   <t:dgCol title="供应商" field="FSupplyName" query="true" ></t:dgCol>
   <t:dgCol title="物料代码" field="FFullNumber" query="true" ></t:dgCol>
   <t:dgCol title="物料名称" field="FItemName" query="true" ></t:dgCol>
   <t:dgCol title="规格型号" field="FItemModel"  ></t:dgCol>
   <t:dgCol title="仓库名称" field="FDCStockIDName" query="true" dictionary="FStock" ></t:dgCol>
   <t:dgCol title="单位" field="FUnitName" ></t:dgCol>
   <t:dgCol title="单价" field="Fauxprice" ></t:dgCol>
   <t:dgCol title="数量" field="FQty" ></t:dgCol>
   <t:dgCol title="金额" field="Famount" ></t:dgCol>
   <t:dgCol title="制单" field="FuserName" ></t:dgCol>
   <t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"   operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("stockBillController.do?export2","f_stockBillList");
	}
	
</script>

